import React, { Component } from 'react';
import {withRouter, Route, Redirect} from 'react-router'
import { TransitionGroup, CSSTransition } from "react-transition-group";


class ShowTheRouter extends Component {
    render() {
        console.log(this.props)
        const { match, location, history } = this.props

        return (
            <div className="xwarp">
                <TransitionGroup>
                    <CSSTransition
                        timeout={500}
                        classNames="fade"
                        key={location.pathname}
                    >
                        
                    </CSSTransition>
                </TransitionGroup>
            </div>
        );
    }
}

export default withRouter(ShowTheRouter);